export function priceFormat2 (str) {
  if (!str) {
    return 0
  } else {
    let price = Number(str) || 0
    if (price >= 10000) {
      price = (price / 10000).toFixed(2) + '万'
    }
    return price
  }
}
export function priceFormat1 (str) {
  if (!str) {
    return 0
  } else {
    let price = Number(str) || 0
    if (price >= 10000) {
      price = (price / 10000).toFixed(2).slice(0, -1) + '万'
    }
    return price
  }
}
